import { createStore } from 'vuex'


export default createStore({
  state: {
    movieId:1242,
    videoId:12639009,
    id:1224712,
  },
  getters: {
  },
  mutations: {
    setVideoId(state,value){
      // console.log(value);
      state.videoId=value
    },
    setShortVideoId(state,value){
      // console.log(value);
      state.shortVideoId=value
    },
    detail(state,id){
      state.id=id
    }
  },
  actions: {
    
  },
  modules: {
  }
})
